package com.chenyun.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chenyun.common.vo.PageResult;
import com.chenyun.system.model.SysTenant;
import com.chenyun.system.param.TenantParam;
import com.chenyun.system.param.TenantQueryPage;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * @author: lonni
 * @CreateTime: 2023-12-06  20:11
 * @Description:
 */
public interface ISysTenantService extends IService<SysTenant> {

    public Boolean createTenant(TenantParam param);

    public Boolean updateTenant(TenantParam param);

    public Boolean delTenant(List<Integer> ids);

    /**
     * 简单分页查询
     * @param param
     * @return
     */
    public PageResult pageList(TenantQueryPage queryPage);




    public SysTenant getTenant(Integer id) ;


}
